package com.hbms.business.mapper;

import java.util.List;
import com.hbms.business.domain.HotelbmsRoomstatus;

/**
 * 客房状态Mapper接口
 *
 * @author zl
 * @date 2024-04-10
 */
public interface HotelbmsRoomstatusMapper
{
    /**
     * 查询客房状态
     *
     * @param roomStatusId 客房状态主键
     * @return 客房状态
     */
    public HotelbmsRoomstatus selectHotelbmsRoomstatusByRoomStatusId(Long roomStatusId);

    /**
     * 查询客房状态列表
     *
     * @param hotelbmsRoomstatus 客房状态
     * @return 客房状态集合
     */
    public List<HotelbmsRoomstatus> selectHotelbmsRoomstatusList(HotelbmsRoomstatus hotelbmsRoomstatus);

    /**
     * 新增客房状态
     *
     * @param hotelbmsRoomstatus 客房状态
     * @return 结果
     */
    public int insertHotelbmsRoomstatus(HotelbmsRoomstatus hotelbmsRoomstatus);

    /**
     * 修改客房状态
     *
     * @param hotelbmsRoomstatus 客房状态
     * @return 结果
     */
    public int updateHotelbmsRoomstatus(HotelbmsRoomstatus hotelbmsRoomstatus);

    /**
     * 删除客房状态
     *
     * @param roomStatusId 客房状态主键
     * @return 结果
     */
    public int deleteHotelbmsRoomstatusByRoomStatusId(Long roomStatusId);

    /**
     * 批量删除客房状态
     *
     * @param roomStatusIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteHotelbmsRoomstatusByRoomStatusIds(Long[] roomStatusIds);

    /**
     * 根据客房ID来查询该客房所有的房间状态
     * @param roomId
     */
    public List<HotelbmsRoomstatus> selecthotelbmsRoomAllRoomStatusByRoomId(Long roomId);
}
